const router = require("express")();
module.exports = router;

const { HotCounter } = require("../core/Counter");

router.get('/cat_info.html', (req, res, next) => {
    const id = (req.query || {}).id
    if (!isNaN(id)) HotCounter(id);
    next();
})